package test;

import com.example.excel.annotation.Excel;
import com.example.excel.annotation.ExcelCell;
import com.example.excel.annotation.ExcelSheet;

@Excel({@ExcelSheet(startRow = 1),
        @ExcelSheet(sheetIndex = 2, startRow = 2, endRow = 20),
        @ExcelSheet(sheetIndex = 2, startRow = 49, endRow = 67)})
public class UserInfo {

    @ExcelCell(0)
    private String userName;

    @ExcelCell(1)
    private String userAccount;

    @ExcelCell(2)
    private String userPwd;

    @ExcelCell(3)
    private String ifAdmin;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getIfAdmin() {
        return ifAdmin;
    }

    public void setIfAdmin(String ifAdmin) {
        this.ifAdmin = ifAdmin;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "userName='" + userName + '\'' +
                ", userAccount='" + userAccount + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", ifAdmin='" + ifAdmin + '\'' +
                '}';
    }
}
